import React, { Component } from 'react';
import {
  StyleSheet,
  Text,
  View,
} from 'react-native';

// 导入模块
import Menu from './modules/Menu';
import NewList from './modules/NewsList';


export default class App extends Component<{}> {

    render() {
    return (
      <View>
        <Text style={styles.welcome}>
          Welcome to 后盾人 React Native!
        </Text>

        <Menu />
        <NewList />

      </View>
    );
  }
}

const styles = StyleSheet.create({
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
});
